package com.example.mumu.passwordbook.common;

/**
 * Created by lupan 2018/6/21
 */
public class Constants {

    /**
     * 设置的首选项键值
     */
    public static class PreferenceKeys{
        public static final String IS_FINGERPRINT_UNLOCK = "is_fingerprint_unlock";
        public static final String IS_PATTERN_UNLOCK = "is_pattern_unlock";
        public static final String PATTERN_PASSWORD = "pattern_password";
    }

    /**
     * 修改/录入图案密码的状态
     */
    public static class UpdatePatternPasswordStatus{
        public static final int INPUT_OLD_PASSWORD = 0;
        public static final int INPUT_NEW_PASSWORD = 1;
        public static final int REPEAT_NEW_PASSWORD = 2;
    }

    /**
     * 相关代码
     */
    public static class Code{
        public static final int REQUEST_ACCOUNT_OPERATE = 1;
        public static final int RESPONSE_ACCOUNT_ADD = 1;
        public static final int RESPONSE_ACCOUNT_EDIT = 2;
    }


}
